]> dgit.raspbian.org Git - gnome-shell.git/commit
iconGrid: Add moveItem
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 23 Sep 2020 19:52:09 +0000 (16:52 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 5 Oct 2020 12:06:47 +0000 (12:06 +0000)
commitffdff07eafc9adfe01f05486970fb86d835ab8d9
tree4f1c94a90f5de00dd0e2c0b495e5ffa37dee67b4
parentbfd4d0f7aa57bce6bfe9ec5b54c1281ef06684f3
iconGrid: Add moveItem

This new public API moves items without removing and readding
them, which allows us to avoid some tricky behavior. Noticeably,
following the original design described at 3555550d5, the new
IconGridLayout.moveItem() method does not call `layout_changed`.
This is done by IconGrid itself, queueing a relayout.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1447
js/ui/iconGrid.js